# encoding: utf-8
# module PyQt5.QtCore
# from /usr/lib/python3/dist-packages/PyQt5/QtCore.cpython-35m-x86_64-linux-gnu.so
# by generator 1.146
# no doc

# imports
import sip as __sip


from .QIODevice import QIODevice

class QFileDevice(QIODevice):
    # no doc
    def atEnd(self): # real signature unknown; restored from __doc__
        """ QFileDevice.atEnd() -> bool """
        return False

    def close(self): # real signature unknown; restored from __doc__
        """ QFileDevice.close() """
        pass

    def error(self): # real signature unknown; restored from __doc__
        """ QFileDevice.error() -> QFileDevice.FileError """
        pass

    def fileName(self): # real signature unknown; restored from __doc__
        """ QFileDevice.fileName() -> str """
        return ""

    def flush(self): # real signature unknown; restored from __doc__
        """ QFileDevice.flush() -> bool """
        return False

    def handle(self): # real signature unknown; restored from __doc__
        """ QFileDevice.handle() -> int """
        return 0

    def isSequential(self): # real signature unknown; restored from __doc__
        """ QFileDevice.isSequential() -> bool """
        return False

    def map(self, p_int, p_int_1, QFileDevice_MemoryMapFlags_flags=None): # real signature unknown; restored from __doc__
        """ QFileDevice.map(int, int, QFileDevice.MemoryMapFlags flags=QFileDevice.NoOptions) -> sip.voidptr """
        pass

    def permissions(self): # real signature unknown; restored from __doc__
        """ QFileDevice.permissions() -> QFileDevice.Permissions """
        pass

    def pos(self): # real signature unknown; restored from __doc__
        """ QFileDevice.pos() -> int """
        return 0

    def readData(self, p_int): # real signature unknown; restored from __doc__
        """ QFileDevice.readData(int) -> bytes """
        return b""

    def readLineData(self, p_int): # real signature unknown; restored from __doc__
        """ QFileDevice.readLineData(int) -> bytes """
        return b""

    def resize(self, p_int): # real signature unknown; restored from __doc__
        """ QFileDevice.resize(int) -> bool """
        return False

    def seek(self, p_int): # real signature unknown; restored from __doc__
        """ QFileDevice.seek(int) -> bool """
        return False

    def setPermissions(self, QFileDevice_Permissions): # real signature unknown; restored from __doc__
        """ QFileDevice.setPermissions(QFileDevice.Permissions) -> bool """
        return False

    def size(self): # real signature unknown; restored from __doc__
        """ QFileDevice.size() -> int """
        return 0

    def unmap(self, sip_voidptr): # real signature unknown; restored from __doc__
        """ QFileDevice.unmap(sip.voidptr) -> bool """
        return False

    def unsetError(self): # real signature unknown; restored from __doc__
        """ QFileDevice.unsetError() """
        pass

    def writeData(self, p_str): # real signature unknown; restored from __doc__
        """ QFileDevice.writeData(str) -> int """
        return 0

    def __init__(self, *args, **kwargs): # real signature unknown
        pass

    AbortError = 6
    AutoCloseHandle = 1
    CopyError = 14
    DontCloseHandle = 0
    ExeGroup = 16
    ExeOther = 1
    ExeOwner = 4096
    ExeUser = 256
    FatalError = 3
    MapPrivateOption = 1
    NoError = 0
    NoOptions = 0
    OpenError = 5
    PermissionsError = 13
    PositionError = 11
    ReadError = 1
    ReadGroup = 64
    ReadOther = 4
    ReadOwner = 16384
    ReadUser = 1024
    RemoveError = 9
    RenameError = 10
    ResizeError = 12
    ResourceError = 4
    TimeOutError = 7
    UnspecifiedError = 8
    WriteError = 2
    WriteGroup = 32
    WriteOther = 2
    WriteOwner = 8192
    WriteUser = 512


